package bingo.component.amchart.service;

import java.lang.reflect.InvocationTargetException;
import java.util.Map;

import bingo.component.amchart.graphics.Graphic;
import bingo.component.amchart.graphics.Graphic.GraphicType;

/**
 * Jun 24, 2008 5:11:56 PM
 * Author:yangdongyu(yangdy@bingosoft.net)
 * ReadMe:
 * ChangeLog:
 */
public interface IGraphicReaderService {
	/**
	 * 获取要展示的图形的对象
	 * @param sqlId 查询数据的sql
	 * @param type 展示图片的类型
	 * @param params 其他参数
	 * @return
	 * @throws IllegalArgumentException
	 * @throws IllegalAccessException
	 * @throws InvocationTargetException
	 */
	public Graphic getGraphic(String sqlId,GraphicType type,Map<String,Object> params)throws IllegalArgumentException, IllegalAccessException, InvocationTargetException ;
}
